<template>
  <div id="goods">
    <goods-list-items v-for="(item,index) in goodsList" :key="index" :goodsItem='item'/>
  </div>
</template>

<script>
import GoodsListItems from "components/content/goods/GoodsListItems.vue"
export default {
  name:'GoodsList',
  components:{
    GoodsListItems
  },
  props:{
    goodsList:{
      type:Array,
      default(){
        return []
      }
    }
  }

}
</script>

<style>
  #goods{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding:5px;
  }
</style>